package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 发货状态
 * @author gaosheng
 * @date 2018-10-20 14:36
 */
public enum ShipStatusEnum implements BaseEnum {

    NOT_SHIPPED("0", "未发货"),
    shipped("1", "已发货"),
    PARTIAL_SHIPPED("2", "部分发货"),
    PARTIAL_GOODS_RETURN("3", "部分退货"),
    GOODS_RETURN("4", "已退货"),
    ;

    private String code;
    private String describe;

    ShipStatusEnum(String code, String describe){
        this.code = code;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
